Apparatus and method for transmitting command

ABSTRACT

There are provided an apparatus and method for transmitting commands in a network to which a plurality of communication protocols may be applied. A first command that supports a plurality of communication protocols is input. One of the plurality of communication protocols is selected in accordance with the input first command. The first command is converted into a corresponding second command in the selected communication protocol. The converted second command is transmitted using the selected communication protocol.

FIELD OF THE INVENTION

The present invention relates to an apparatus and method for transmitting commands and, more particularly, to an apparatus and method for transmitting commands in a network to which a plurality of communication protocols may be applied.

BACKGROUND OF THE INVENTION

Along with the advance of the digital computer technology, even in office devices and general home appliances which have simple functions and cannot be organically connected to each other, functions such as connection of these devices, cooperation of processes, and the like can be implemented via a network. In order to connect a plurality of devices to each other via a network and to attain data transfer and operation control, a device control protocol is required. Device control protocols with various specifications have been proposed.

Office devices and home electronic appliances can be controlled via a network. As a result, device control applications which appropriately remotely control these devices to add new values continue to come on the market.

When a plurality of device control protocols of different types are used together, a device control application must individually support these device control protocols. As a technique that weakens coupling between such device control application processes and device control protocol processes, a prior art disclosed in, e.g., Japanese Patent Laid-Open No. 2001-306416 is known. In this prior art, even when there are differences depending on different vendors and versions (e.g., different communication protocols, different axial configurations of robots, and the like), common application software can be developed by simple replacement of processing commands.

However, in the aforementioned device control protocols, various specifications and proposals are available. That is, in device control protocols, specifications and bylaws are specified in correspondence with the types of devices to be controlled and the contents of expected cooperation processes. For this reason, with increasing number of classes of devices having cooperation functions via a network, the number of types of device control protocols increases. On the other hand, as shown in FIG. 10, since a device control application 101 and device 102 to be controlled are directly connected via a device control protocol 103, if the number of classes of devices to be controlled increases, the device control application must individually support a plurality of device control protocols.

SUMMARY OF THE INVENTION

It is an object of the present invention to make it unnecessary for a device control application to individually support a plurality of device control protocols.

It is another object of the present invention to implement an appropriate device cooperation process.

According to the present invention, an apparatus and method for transmitting commands in a network to which a plurality of communication protocols may be applied are provided. A first command that supports a plurality of communication protocols is input. One of the plurality of communication protocols is selected in accordance with the input first command. The first command is converted into a second command in the selected communication protocol. The converted second command is transmitted using the selected communication protocol.

Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the descriptions, serve to explain the principle of the invention.

FIG. 1 is diagrammatically illustrates an embodiment of the basic concept of present invention;

FIG. 2 is a block diagram showing the arrangement of a device control apparatus according to the embodiment of the present invention;

FIG. 3 is a block diagram showing the internal arrangement of a virtual protocol execution module;

FIG. 4 represents an example of the command configuration in a virtual protocol;

FIG. 5 represents an example of the configuration of status information;

FIG. 6 represents an example of the configuration of profile information;

FIG. 7 is a flowchart showing a principal sequence of a device control process executed by the device control apparatus;

FIG. 8 represents an example of a user interface of a device control application;

FIG. 9 represents another example of a user interface of a device control application; and

FIG. 10 is a block diagram showing the conventional connection relationship among a device control application, device control protocol, and device to be controlled.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Preferred embodiments of the present invention will be described hereinafter with reference to the accompanying drawings. In the following description, a practical arrangement example will be explained. However, the present invention is not limited to such practical arrangement example.

FIG. 1 is diagrammatically illustrates an embodiment of the basic concept of present invention. This device control apparatus has a device control application 101 and virtual control protocol processor 105, and controls devices 102A to 102C to be controlled.

In this embodiment, the device control application 101 and device control protocols 103A to 103C have an indirect connection relationship via a virtual protocol 104. That is, a device control request output from the device control application 101 is supplied to the virtual protocol processor 105 via the virtual protocol 104 that generalizes functions required for device control, and is then supplied from the processor 105 to the devices 102A to 102C to be controlled via the plurality of device control protocols 103A to 103C.

FIG. 2 is a block diagram showing the arrangement of the device control apparatus according to this embodiment.

Note that the device control apparatus is an information processing apparatus which comprises a CPU, ROM, RAM, and the like, and components 202 to 204 of the device control apparatus to be described below correspond to functions which are implemented when the CPU executes a control program stored in the ROM.

In FIG. 2, reference numeral 201 denotes a device control application (corresponding to the device control application 101 in FIG. 1), which implements a process that cannot be achieved by a single device by controlling a plurality of device network-compatible devices. A plurality of device control applications 201 may be present in the device control apparatus.

Modules 202 to 205 form the virtual protocol processor 105 shown in FIG. 1.

Reference numeral 202 denotes a virtual protocol providing module which provides a virtual protocol (corresponding to the virtual protocol 104 in FIG. 1) to the device control application 201. In other words, the module 202 provides an application programming interface via the virtual protocol.

Reference numeral 203 denotes a virtual protocol execution module which receives and interprets a device control request sent from the device control application 201 using the virtual protocol (corresponding to the virtual protocol 104 in FIG. 1) provided by the virtual protocol providing module 202, and determines control contents.

Reference numeral 204 denotes a virtual protocol conversion module, which converts the processing contents of the virtual protocol into those of a device control protocol used in device control. A plurality of virtual protocol conversion modules 204 are present in correspondence with the number of devices to be controlled, and can be arbitrarily added or deleted at the time of startup and during operation of the device control apparatus.

Reference numeral 205 denotes a virtual protocol transfer module which transfers the control contents determined by the virtual protocol execution module 203 to the virtual protocol conversion module 204. If there are a plurality of virtual protocol conversion modules 204, the virtual protocol transfer module 205 transfers the control contents determined by the virtual protocol execution module 203 to a corresponding one of the virtual protocol conversion modules 204.

As a communication protocol used in a communication route between each virtual protocol conversion module 204 and device to be controlled (corresponding to devices 102A to 102C to be controlled in FIG. 1), Internet protocol (IP) is used. As the IP version, both IPv4 and IPv6 can be used. A medium actually used as the communication route is a wired or wireless medium. Note that communication protocols such as TCP, UDP, HTTP, SMTP, SNMP, FTP, and the like may also be used in accordance with target device control protocols of the virtual protocol conversion modules 204. In order to assure communication security, IPsec, SSL, and the like may be used in correspondence with device control protocols.

FIG. 3 is a block diagram showing the internal arrangement of the virtual protocol execution module 203 shown in FIG. 2.

Reference numeral 301 denotes a status information holding unit which holds status information that indicates the status of a device to be controlled.

Reference numeral 302 denotes a profile information holding unit which holds profile information indicating the specifications of a device to be controlled.

Reference numeral 303 denotes a set information holding unit which holds information of a set of devices that can be manipulated in a device network.

Reference numeral 304 denotes an interpretation unit which interprets processing contents (a device control request sent from the device control application 201) expressed by the virtual protocol.

Reference numeral 305 denotes a determination unit which determines actual control contents on the basis of the interpretation result of the interpretation unit 304.

FIG. 4 illustrates an example of the command configuration in the virtual protocol.

The virtual protocol aims at providing means that generalizes functions required for device control, and is specified by extracting and reconstructing functions which may be required in device control from those of various protocols.

The virtual protocol includes a set of commands that command device control. Each command includes a plurality of pieces of information: a command name, input parameter list, output parameter list, and processing attribute. The command name is an identification name of a command as the most basic element that forms the virtual protocol. The input parameter list is a list of information required on the device control application side upon executing a command. The output parameter list is a list of information of processing results obtained after execution of a command. The processing attribute guide information upon developing a command to a plurality of actual device control protocols. A command is developed by the determination unit 305 shown in FIG. 5 on the basis of the processing attribute.

For example, UPnP, JXTA, and the like have common functions such as search and the like, but these functions are processed using different names and parameters. FIG. 4 laps (abstracts) to process such functions by identical names and parameters. However, since a peer-to-peer protocol such as JXTA includes functions such as message routing and the like, which are not related to device control, these functions are omitted. Since the virtual protocol itself is “virtual definition of device-to-device exchange”, specifications of “name” (command name) of each function, “input” for that function, and “output” of the result are defined in FIG. 4.

FIG. 4 illustrates commands associated with device discovery and recognition functions as especially principal functions of those implemented by the virtual protocol.

In FIG. 4, a “player list acquisition” command is one of device information acquisition commands, and is used to acquire set information of available devices which are present on the device network. The acquired device set information is held by the set information holding unit 303 shown in FIG. 3. An execution result of this command is acquired as a list of identification codes ID indicating available devices present on the device network (this list includes the acquired identification codes ID and device control protocols used to acquire these identification codes ID). As the processing attribute of this command, “parallel” is appended. With this attribute, when there are a plurality of virtual protocol conversion modules 204 corresponding to a plurality of different types of actual device control protocols, a player list acquisition instruction is parallelly and simultaneously issued to all the virtual protocol conversion modules 204.

In FIG. 4, a “status acquisition” command is also one of device information acquisition commands, and is used to acquire status information which indicates the status of a device corresponding to an ID designated in the input parameter list. The status information is held by the status information holding unit 301 shown in FIG. 3. The device ID is designated by the input parameter list, and status information of the device with the designated ID is input to the output parameter list. As the processing attribute of this command, “independent” is appended. With this attribute, even when there are a plurality of virtual protocol conversion modules 204 corresponding to a plurality of different types of actual device control protocols, a status acquisition instruction is issued to only the virtual protocol conversion module 204 corresponding to the device with the designated ID.

In FIG. 4, a “profile acquisition” command is also one of device information acquisition commands, and is used to acquire profile information which indicates the specification of a device corresponding to an ID designated in the input parameter list. The profile information is held by the profile information holding unit 302 shown in FIG. 3. The device ID is designated by the input parameter list, and profile information of the device with the designated ID is input to the output parameter list. As the processing attribute of this command, “independent” is appended. With this attribute, even when there are a plurality of virtual protocol conversion modules 204 corresponding to a plurality of different types of actual device control protocols, a profile acquisition instruction is issued to only the virtual protocol conversion module 204 corresponding to the device with the designated ID.

In FIG. 4, a “search” command is used to search for a device with the designated performance/specification (described in profile) or status (described in status). Status information, profile information, and a flag indicating information to be used in a search are input to the input parameter list. Only one device ID obtained as a result of the search is input to the output parameter list. As the processing attribute of this command, “serial” is appended. With this attribute, when there are a plurality of virtual protocol conversion modules 204 corresponding to a plurality of different types of actual device control protocols, a search instruction is issued in turn to each of the plurality of virtual protocol conversion modules 204 until a device with the designated performance/specification or status is found.

FIG. 5 illustrates an example of the configuration of the status information.

The status information is used to indicate the status of a device, and includes a ready flag and busy flag.

The ready flag indicates whether or not a corresponding device is ready to use. For example, if a device is ON, the ready flag is “OK”; otherwise, it is “NO”.

The busy flag indicates whether or not the process of a corresponding device is now in progress. For example, if a device is a printer and its print process is in progress, the busy flag is “NG”; otherwise, it is “OK”.

FIG. 6 illustrates an example of the configuration of the profile information.

The profile information is used to publish the specification indicating performance and the like of a device, and includes, e.g., ID, model name, model number, vendor, address, and owner data.

The ID data is a character string used to uniquely identify a physical entity of a device. For example, the ID data is “urn:abc-magnet:12345678”.

The model name data is a character string indicating the type of device. For example, the model name data is “printer”.

The model number data is a character string indicating the model number of a device. For example, the model number data is “ABC Printer X123”.

The vendor data is a character string indicating the vendor of a device. For example, the vendor data is “ABC corporation”.

The address data indicates an address of the device n the device network. For example, when TCP/IP is used, the address data is “150.61.1.2”.

The owner data indicates the owner of a device. For example, if an e-mail address is used, the owner data is “User-name@abc.co.jp”.

FIG. 7 is a flowchart showing a principal sequence of the device control process executed by the device control apparatus.

In step S701, a processing request (device control request) sent from the device control application 201 is accepted using the virtual protocol provided by the virtual protocol providing module 202.

In step S702, the virtual protocol execution module 203 interprets the processing request (processing contents expressed by the virtual protocol) sent from device control application 201 via the virtual protocol. Especially, this process is executed by the interpretation unit 304 in the virtual protocol execution module 203. For example, when a “status acquisition” command is issued as the virtual protocol from the device control application 201, the unit 304 determines with reference to the virtual protocol table shown in FIG. 4 that the device ID is required as an input parameter of the command, and status information is required as an output parameter.

In step S703, the virtual protocol execution module 203 determines actual control contents on the basis of the interpretation result of the interpretation unit 304. Especially, this process is executed by the determination unit 305 in the virtual protocol execution module 203. That is, in the above example, on the basis of the interpretation result, i.e., “input=device ID” and “output=status information” in the status acquisition command interpreted by the interpretation unit 304, the unit 305 searches the set information holding unit 303 using the device ID to determine a device control protocol actually used by the device with that ID, and determines that the corresponding virtual protocol conversion module 204 is selected to issue a status acquisition processing request according to the determined device control protocol.

In step S704, the control contents determined by the determination unit 305 are converted into the processing contents of the device control protocol used in actual device control. This process is executed by a corresponding one of the plurality of virtual protocol conversion modules 204, which receives the control contents via the virtual protocol transfer module 205.

It is checked in step S705 on the basis of the control contents determined in step S703 if an end condition is met. If the end condition is not met, the flow advances to step S704 to execute the same process for another device control protocol. On the other hand, if the end condition is met, this device control process ends.

Note that the end condition reflects the contents (parallel, independent, serial) of the processing attribute shown in FIG. 4, and is checked by the determination unit 305. In case of this “status acquisition” command, since the processing attribute is “independent”, the process ends.

For example, if there are two device control protocols, i.e., UPnP and JXTA, and if a “player list acquisition” command, which instructs to “list up currently ready devices”, as one of device information acquisition commands, is issued, both the UPnP and JXTA protocols are selected. The corresponding protocol conversion modules 204 convert the device information acquisition command into a UPnP device discovery command and JXTA peer discovery command. At this time, since an action to “discover a device” has no order of superiority between the protocols, both the UPnP and JXTA protocols “simultaneously (parallelly)” issues device discovery commands (UPnP device discovery command and JXTA peer discovery command).

By contrast, when a “search” command, which instructs to “search for a device”, as one of the device information acquisition commands, is issued, both the UPnP and JXTA protocols are selected. However, if the corresponding device is found, the process can be aborted at that time. Hence, the process is “sequentially (serially)” executed so that a search is conducted using the UPnP protocol as one of the selected protocols, and a search is conducted using the other JXTA protocol if a device cannot be found. Or if a command (profile acquisition) that instructs to “acquire predetermined information of a device” comes from the virtual protocol, since this command need only be issued by the protocol that can connect the device, a process is independently (if the protocol that can connect the device is UPnP, UPnP alone) (the process is done based on the processing attribute of FIG. 4).

In this manner, in an environment in which a plurality of device control protocols of different types are used together, when a process is converted from one virtual protocol into a plurality of actual protocols (device control protocols), these actual protocols are executed parallelly, serially, or independently, thereby controlling the order or contents of processes.

FIG. 8 illustrates an example of a user interface of the device control application 201.

In this embodiment, virtual protocol conversion modules 204, which respectively correspond to three different device control protocols “plug & play”, “peer 2 peer”, and “directory server”, are prepared.

FIG. 8 represents a window displayed on an image display device of the information processing apparatus on which the device control application 201 runs. This window displays a list 801 of devices which form the device network in this embodiment, profile information 802, and status information 803.

The list 801 corresponds to the device ID list which is input to the output parameter list upon execution of the “player list acquisition” command shown in FIG. 4. In this case, the window indicates that devices with device IDs=network camera, printer 1, printer 2, printer, scanner 1, and scanner 2 are ready to use. The profile information 802 and status information 803 are displayed using profile information (FIG. 6) and status information (FIG. 5) which are input to the output parameter lists as a result of execution of the “profile acquisition” command and “status acquisition” command shown in FIG. 4 on the basis of a device (printer 1) selected from those displayed on the list 801.

The user selects and designates a desired device from a list of controllable devices displayed as the list 801, and can enjoy a service provided by that device.

FIG. 9 illustrates another example of a user interface of the device control application 201.

A plurality of device control protocols have different properties and performances. A user interface suited to the user who wants to manipulate the device control application while utilizing the characteristics unique to each individual device control protocol is that shown in FIG. 9. FIG. 9 also shows a window which is displayed on the image display device of the information processing apparatus on which the device control application 201 runs. This window displays a device list 901, profile information 902, and status information 903. The device list 901 displays devices that form a device network while being classified into corresponding device control protocols (protocols 1, 2, and 3). In FIG. 9, devices corresponding to protocol 1 are displayed. The profile information 902 and status information 903 display profile information and status information associated with “printer 1” displayed on the device list 901.

In this manner, the user can select a device in consideration of the profile/status information of devices to be controlled in addition to the identification information of the device control protocol.

As described above, since the relationship between the device control protocol and device control application is changed to loose coupling via the virtual protocol, devices which support different types of device control protocols can form a device network.

Since the order and contents of processes in an environment in which a plurality of device control protocols of different types are used together can be controlled, more appropriate device cooperation processes can be realized.

Furthermore, the device control application need not independently support a plurality of device control protocols of different types.

The present invention has been described by way of its preferred embodiments. However, the present invention is not limited to the above embodiment, and various modifications can be made within the scope of the claims.

In the above embodiment, Internet protocol (IP) is used as the communication protocol used in the communication route between each virtual protocol conversion module 204 and device to be controlled. Instead of this protocol, other communication protocols that can connect devices each other may be used. For example, IPX may be used.

In the above embodiment, a single device control apparatus controls a plurality of devices to be controlled. Alternatively, a plurality of device control apparatuses and a plurality of devices to be controlled may be present on a single device network.

In the above embodiment, one device control protocol corresponds to one virtual protocol conversion module 204. Alternatively, a plurality of device control protocols may correspond to one virtual protocol conversion module 204. Or an arrangement that allow a plurality of virtual protocol conversion modules 204 to implement control of one device control protocol may be adopted.

Note that the present invention may be applied to either a system constituted by a plurality of devices (e.g., an AV device, home electronic appliance, computer device, interface device, and the like), or a single apparatus.

The objects of the present invention are also achieved by supplying a storage medium, which records a program code of a software program that can implement the functions of the above-mentioned embodiments to the system or apparatus, and reading out and executing the program code stored in the storage medium by a computer (or a CPU or MPU) of the system or apparatus.

In this case, the program code itself read out from the storage medium implements the functions of the above-mentioned embodiments, and the storage medium which stores the program code constitutes the present invention.

As the storage medium for supplying the program code, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW, magnetic tape, nonvolatile memory card, ROM, and the like may be used.

The functions of the above-mentioned embodiments may be implemented not only by executing the readout program code by the computer but also by some or all of actual processing operations executed by an OS (operating system) running on the computer on the basis of an instruction of the program code.

Furthermore, the functions of the above-mentioned embodiments may be implemented by some or all of actual processing operations executed by a CPU or the like arranged in a function extension board or a function extension unit, which is inserted in or connected to the computer, after the program code read out from the storage medium is written in a memory of the extension board or unit.

As many apparently widely different embodiments of the present invention can be made without departing from the spirit and scope thereof, it is to be understood that the invention is not limited to the specific embodiments thereof except as defined in the claims.

CLAIM OF PRIORITY

This application claims priority from Japanese Patent Application No. 2003-320261 filed on Sep. 11, 2003, which is hereby incorporated by reference herein. 

1. An apparatus for transmitting a command in a network to which a plurality of communication protocols may be applied, comprising: input means for inputting a first command; selection means for selecting one of the plurality of communication protocols in accordance with the first command input by said input means; conversion means for converting the first command into a second command in the communication protocol selected by said selection means; and transmission means for transmitting the second command converted by said conversion means using the communication protocol selected by said selection means.
 2. The apparatus according to claim 1, wherein said selection means selects the plurality of communication protocols in accordance with a first device information acquisition command input by said input means, said conversion means converts the first device information acquisition command into a second device information acquisition command in each of the plurality of communication protocols selected by said selection means, and said transmission means transmits the second device information acquisition command in each communication protocol converted by said conversion means using each of the plurality of communication protocols.
 3. The apparatus according to claim 1, wherein said selection means selects the plurality of communication protocols in accordance with a first search command input by said input means, said conversion means converts the first search command into a second search command in each of the plurality of communication protocols selected by said selection means, and said transmission means transmits the second search command in each communication protocol converted by said conversion means using each of the plurality of communication protocols.
 4. The apparatus according to claim 3, wherein said transmission means sequentially transmits the second search command in each communication protocol converted by said conversion means using each of the plurality of communication protocols.
 5. The apparatus according to claim 1, wherein said selection means selects a communication protocol used by a designated device in accordance with a first device information acquisition command input by said input means for acquiring information of the designated device, said conversion means converts the first device information acquisition command into a second device information acquisition command in the communication protocol selected by said selection means, and said transmission means transmits the second device information acquisition command converted by said conversion means using the communication protocol selected by said selection means.
 6. The apparatus according to claim 5, wherein the predetermined information is status or profile information of the designated device.
 7. The apparatus according to claim 1, further comprising display means for displaying device information acquired by said transmission means using the plurality of communication protocols in correspondence with respective communication protocols.
 8. A method for transmitting a command in a network to which a plurality of communication protocols may be applied, comprising: an input step of inputting a first command; a selection step of selecting one of the plurality of communication protocols in accordance with the first command input in the input step; a conversion step of converting the first command into a second command in the communication protocol selected in the selection step; and a transmission step of transmitting the second command converted in the conversion step using the communication protocol selected in the selection step.
 9. The method according to claim 8, wherein the plurality of communication protocols are selected in the selection step in accordance with a first device information acquisition command input in the input step, the first device information acquisition command is converted in the conversion step into a second device information acquisition command in each of the plurality of communication protocols selected in the selection step, and the second device information acquisition command in each communication protocol converted in the conversion step is transmitted in the transmission step using each of the plurality of communication protocols.
 10. The method according to claim 8, wherein the plurality of communication protocols are selected in the selection step in accordance with a first search command input in the input step, the first search command is converted in the conversion step into a second search command in each of the plurality of communication protocols selected in the selection step, and the second search command in each communication protocol converted in the conversion step is transmitted in the transmission step using each of the plurality of communication protocols.
 11. The method according to claim 8, wherein a communication protocol used by a designated device is selected in the selection step in accordance with a first device information acquisition command input in the input step for acquiring information of the designated device, the first device information acquisition command is converted in the conversion step into a second device information acquisition command in the communication protocol selected in the selection step, and the second device information acquisition command converted in the conversion step is transmitted in the transmission step using the communication protocol selected in the selection step.
 12. A program which is executed by a computer connected to a network to which a plurality of communication protocols may be applied, comprising: a code of an input step of inputting a first command; a code of a selection step of selecting one of the plurality of communication protocols in accordance with the first command input in the input step; and a code of a conversion step of converting the first command into a second command in the communication protocol selected in the selection step.
 13. The program according to claim 12, wherein the plurality of communication protocols are selected in the selection step in accordance with a first device information acquisition command input in the input step, and the first device information acquisition command is converted in the conversion step into a second device information acquisition command in each of the plurality of communication protocols selected in the selection step.
 14. The program according to claim 12, wherein the plurality of communication protocols are selected in the selection step in accordance with a first search command input in the input step, and the first search command is converted in the conversion step into a second search command in each of the plurality of communication protocols selected in the selection step.
 15. The program according to claim 12, wherein a communication protocol used by a designated device is selected in the selection step in accordance with a first device information acquisition command input in the input step for acquiring information of the designated device, and the first device information acquisition command is converted in the conversion step into a second device information acquisition command in the communication protocol selected in the selection step.
 16. A device control apparatus for controlling a plurality of devices via a plurality of device control protocols corresponding to the plurality of devices, comprising: providing means for providing a virtual protocol corresponding to the plurality of device control protocols; interpretation means for interpreting a device control request sent via the virtual protocol provided by said providing means; and conversion means for converting processing contents of the device control request interpreted by said interpretation means into processing contents of the corresponding device control protocol of the plurality of device control protocols.
 17. A device control method for controlling a plurality of devices via a plurality of device control protocols corresponding to the plurality of devices, comprising the steps of: providing a virtual protocol corresponding to the plurality of device control protocols; interpreting a device control request sent via the provided virtual protocol; and converting processing contents of the interpreted device control request into processing contents of the corresponding device control protocol of the plurality of device control protocols.
 18. A program for making a computer execute a device control method for controlling a plurality of devices via a plurality of device control protocols corresponding to the plurality of devices, comprising: a code of providing a virtual protocol corresponding to the plurality of device control protocols; a code of interpreting a device control request sent via the provided virtual protocol; and a code of converting processing contents of the interpreted device control request into processing contents of the corresponding device control protocol of the plurality of device control protocols. 